[INFO] cloning repository https://github.com/henrywong-crypto/api-keys-test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/henrywong-crypto/api-keys-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenrywong-crypto%2Fapi-keys-test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenrywong-crypto%2Fapi-keys-test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 54403c25cbd6802df1b787424ff51fa84288acb8
[INFO] fixing henrywong-crypto/api-keys-test against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenrywong-crypto%2Fapi-keys-test" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/henrywong-crypto/api-keys-test
[INFO] finished tweaking git repo https://github.com/henrywong-crypto/api-keys-test
[INFO] tweaked toml for git repo https://github.com/henrywong-crypto/api-keys-test written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/henrywong-crypto/api-keys-test on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/henrywong-crypto/api-keys-test already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sqlx-sqlite v0.8.3
[INFO] [stderr]   Downloaded miniz_oxide v0.8.4
[INFO] [stderr]   Downloaded uuid v1.13.1
[INFO] [stderr]   Downloaded sqlx-core v0.8.3
[INFO] [stderr]   Downloaded sqlx-macros v0.8.3
[INFO] [stderr]   Downloaded sqlx-mysql v0.8.3
[INFO] [stderr]   Downloaded sqlx-macros-core v0.8.3
[INFO] [stderr]   Downloaded cc v1.2.14
[INFO] [stderr]   Downloaded tempfile v3.17.0
[INFO] [stderr]   Downloaded sqlx-postgres v0.8.3
[INFO] [stderr]   Downloaded sqlx v0.8.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b172ef5569d39d284e392630f561fb362d7d0bbd849c227f33a497ebee210d76
[INFO] running `Command { std: "docker" "start" "b172ef5569d39d284e392630f561fb362d7d0bbd849c227f33a497ebee210d76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b172ef5569d39d284e392630f561fb362d7d0bbd849c227f33a497ebee210d76" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b172ef5569d39d284e392630f561fb362d7d0bbd849c227f33a497ebee210d76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b172ef5569d39d284e392630f561fb362d7d0bbd849c227f33a497ebee210d76" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]    Compiling serde_json v1.0.138
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]    Compiling cc v1.2.14
[INFO] [stderr]    Compiling once_cell v1.20.3
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling foldhash v0.1.4
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling ryu v1.0.19
[INFO] [stderr]    Compiling bytes v1.10.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling bitflags v2.8.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]     Checking clap_builder v4.5.29
[INFO] [stderr]     Checking uuid v1.13.1
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling tempfile v3.17.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling clap_derive v4.5.28
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]     Checking clap v4.5.29
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking sqlx-core v0.8.3
[INFO] [stderr]     Checking sqlx-sqlite v0.8.3
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.3
[INFO] [stderr]    Compiling sqlx-macros v0.8.3
[INFO] [stderr]     Checking sqlx v0.8.3
[INFO] [stderr]     Checking api-key-test2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:157:14
[INFO] [stdout]     |
[INFO] [stdout] 157 |       let id = sqlx::query!(
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 158 | |         r#"
[INFO] [stdout] 159 | | INSERT INTO users (email, role, max_budget)
[INFO] [stdout] 160 | | VALUES (?, ?, ?)
[INFO] [stdout] ...   |
[INFO] [stdout] 164 | |         max_budget
[INFO] [stdout] 165 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:190:5
[INFO] [stdout]     |
[INFO] [stdout] 190 | /     sqlx::query!(
[INFO] [stdout] 191 | |         r#"
[INFO] [stdout] 192 | | INSERT INTO api_keys (user_id, key, name, expires_at)
[INFO] [stdout] 193 | | VALUES (?, ?, ?, ?)
[INFO] [stdout] ...   |
[INFO] [stdout] 198 | |         expires_at
[INFO] [stdout] 199 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:221:14
[INFO] [stdout]     |
[INFO] [stdout] 221 |       let id = sqlx::query!(
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 222 | |         r#"
[INFO] [stdout] 223 | | INSERT INTO models (name, display_name, input_cost_per_token, output_cost_per_token)
[INFO] [stdout] 224 | | VALUES (?, ?, ?, ?)
[INFO] [stdout] ...   |
[INFO] [stdout] 229 | |         output_cost
[INFO] [stdout] 230 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:254:17
[INFO] [stdout]     |
[INFO] [stdout] 254 |       let model = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 255 | |         r#"
[INFO] [stdout] 256 | | SELECT id,
[INFO] [stdout] 257 | |     input_cost_per_token,
[INFO] [stdout] ...   |
[INFO] [stdout] 262 | |         model_name
[INFO] [stdout] 263 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:273:26
[INFO] [stdout]     |
[INFO] [stdout] 273 |       let api_key_record = sqlx::query!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 274 | |         r#"
[INFO] [stdout] 275 | | SELECT id, user_id
[INFO] [stdout] 276 | | FROM api_keys
[INFO] [stdout] ...   |
[INFO] [stdout] 279 | |         api_key
[INFO] [stdout] 280 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:285:5
[INFO] [stdout]     |
[INFO] [stdout] 285 | /     sqlx::query!(
[INFO] [stdout] 286 | |         r#"
[INFO] [stdout] 287 | | INSERT INTO usages (api_key_id, model_id, input_tokens, output_tokens, total_tokens, cost)
[INFO] [stdout] 288 | | VALUES (?, ?, ?, ?, ?, ?)
[INFO] [stdout] ...   |
[INFO] [stdout] 295 | |         cost
[INFO] [stdout] 296 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:301:5
[INFO] [stdout]     |
[INFO] [stdout] 301 | /     sqlx::query!(
[INFO] [stdout] 302 | |         r#"
[INFO] [stdout] 303 | | UPDATE api_keys
[INFO] [stdout] 304 | | SET spend = spend + ?, updated_at = CURRENT_TIMESTAMP
[INFO] [stdout] ...   |
[INFO] [stdout] 308 | |         api_key_record.id
[INFO] [stdout] 309 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:314:5
[INFO] [stdout]     |
[INFO] [stdout] 314 | /     sqlx::query!(
[INFO] [stdout] 315 | |         r#"
[INFO] [stdout] 316 | | UPDATE users
[INFO] [stdout] 317 | | SET total_spend = total_spend + ?, updated_at = CURRENT_TIMESTAMP
[INFO] [stdout] ...   |
[INFO] [stdout] 321 | |         api_key_record.user_id
[INFO] [stdout] 322 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:333:17
[INFO] [stdout]     |
[INFO] [stdout] 333 |       let users = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 334 | |         User,
[INFO] [stdout] 335 | |         r#"
[INFO] [stdout] 336 | | SELECT id, email,
[INFO] [stdout] ...   |
[INFO] [stdout] 342 | |         "#
[INFO] [stdout] 343 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:360:13
[INFO] [stdout]     |
[INFO] [stdout] 360 | /             sqlx::query_as!(
[INFO] [stdout] 361 | |                 ApiKey,
[INFO] [stdout] 362 | |                 r#"
[INFO] [stdout] 363 | | SELECT id, key, name, spend, expires_at as "expires_at?: DateTime<Utc>"
[INFO] [stdout] ...   |
[INFO] [stdout] 368 | |                 uid
[INFO] [stdout] 369 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:374:13
[INFO] [stdout]     |
[INFO] [stdout] 374 | /             sqlx::query_as!(
[INFO] [stdout] 375 | |                 ApiKey,
[INFO] [stdout] 376 | |                 r#"
[INFO] [stdout] 377 | | SELECT id, key, name, spend, expires_at as "expires_at?: DateTime<Utc>"
[INFO] [stdout] ...   |
[INFO] [stdout] 380 | |             "#
[INFO] [stdout] 381 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:404:18
[INFO] [stdout]     |
[INFO] [stdout] 404 |       let models = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 405 | |         Model,
[INFO] [stdout] 406 | |         r#"
[INFO] [stdout] 407 | | SELECT id, name, display_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 412 | |         "#
[INFO] [stdout] 413 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:434:18
[INFO] [stdout]     |
[INFO] [stdout] 434 |       let usages = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 435 | |         r#"
[INFO] [stdout] 436 | | WITH usage_stats AS (
[INFO] [stdout] 437 | |     SELECT m.id as model_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 457 | |         api_key
[INFO] [stdout] 458 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:157:14
[INFO] [stdout]     |
[INFO] [stdout] 157 |       let id = sqlx::query!(
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 158 | |         r#"
[INFO] [stdout] 159 | | INSERT INTO users (email, role, max_budget)
[INFO] [stdout] 160 | | VALUES (?, ?, ?)
[INFO] [stdout] ...   |
[INFO] [stdout] 164 | |         max_budget
[INFO] [stdout] 165 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:190:5
[INFO] [stdout]     |
[INFO] [stdout] 190 | /     sqlx::query!(
[INFO] [stdout] 191 | |         r#"
[INFO] [stdout] 192 | | INSERT INTO api_keys (user_id, key, name, expires_at)
[INFO] [stdout] 193 | | VALUES (?, ?, ?, ?)
[INFO] [stdout] ...   |
[INFO] [stdout] 198 | |         expires_at
[INFO] [stdout] 199 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:221:14
[INFO] [stdout]     |
[INFO] [stdout] 221 |       let id = sqlx::query!(
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 222 | |         r#"
[INFO] [stdout] 223 | | INSERT INTO models (name, display_name, input_cost_per_token, output_cost_per_token)
[INFO] [stdout] 224 | | VALUES (?, ?, ?, ?)
[INFO] [stdout] ...   |
[INFO] [stdout] 229 | |         output_cost
[INFO] [stdout] 230 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:254:17
[INFO] [stdout]     |
[INFO] [stdout] 254 |       let model = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 255 | |         r#"
[INFO] [stdout] 256 | | SELECT id,
[INFO] [stdout] 257 | |     input_cost_per_token,
[INFO] [stdout] ...   |
[INFO] [stdout] 262 | |         model_name
[INFO] [stdout] 263 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:273:26
[INFO] [stdout]     |
[INFO] [stdout] 273 |       let api_key_record = sqlx::query!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 274 | |         r#"
[INFO] [stdout] 275 | | SELECT id, user_id
[INFO] [stdout] 276 | | FROM api_keys
[INFO] [stdout] ...   |
[INFO] [stdout] 279 | |         api_key
[INFO] [stdout] 280 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:285:5
[INFO] [stdout]     |
[INFO] [stdout] 285 | /     sqlx::query!(
[INFO] [stdout] 286 | |         r#"
[INFO] [stdout] 287 | | INSERT INTO usages (api_key_id, model_id, input_tokens, output_tokens, total_tokens, cost)
[INFO] [stdout] 288 | | VALUES (?, ?, ?, ?, ?, ?)
[INFO] [stdout] ...   |
[INFO] [stdout] 295 | |         cost
[INFO] [stdout] 296 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:301:5
[INFO] [stdout]     |
[INFO] [stdout] 301 | /     sqlx::query!(
[INFO] [stdout] 302 | |         r#"
[INFO] [stdout] 303 | | UPDATE api_keys
[INFO] [stdout] 304 | | SET spend = spend + ?, updated_at = CURRENT_TIMESTAMP
[INFO] [stdout] ...   |
[INFO] [stdout] 308 | |         api_key_record.id
[INFO] [stdout] 309 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:314:5
[INFO] [stdout]     |
[INFO] [stdout] 314 | /     sqlx::query!(
[INFO] [stdout] 315 | |         r#"
[INFO] [stdout] 316 | | UPDATE users
[INFO] [stdout] 317 | | SET total_spend = total_spend + ?, updated_at = CURRENT_TIMESTAMP
[INFO] [stdout] ...   |
[INFO] [stdout] 321 | |         api_key_record.user_id
[INFO] [stdout] 322 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:333:17
[INFO] [stdout]     |
[INFO] [stdout] 333 |       let users = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 334 | |         User,
[INFO] [stdout] 335 | |         r#"
[INFO] [stdout] 336 | | SELECT id, email,
[INFO] [stdout] ...   |
[INFO] [stdout] 342 | |         "#
[INFO] [stdout] 343 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:360:13
[INFO] [stdout]     |
[INFO] [stdout] 360 | /             sqlx::query_as!(
[INFO] [stdout] 361 | |                 ApiKey,
[INFO] [stdout] 362 | |                 r#"
[INFO] [stdout] 363 | | SELECT id, key, name, spend, expires_at as "expires_at?: DateTime<Utc>"
[INFO] [stdout] ...   |
[INFO] [stdout] 368 | |                 uid
[INFO] [stdout] 369 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:374:13
[INFO] [stdout]     |
[INFO] [stdout] 374 | /             sqlx::query_as!(
[INFO] [stdout] 375 | |                 ApiKey,
[INFO] [stdout] 376 | |                 r#"
[INFO] [stdout] 377 | | SELECT id, key, name, spend, expires_at as "expires_at?: DateTime<Utc>"
[INFO] [stdout] ...   |
[INFO] [stdout] 380 | |             "#
[INFO] [stdout] 381 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:404:18
[INFO] [stdout]     |
[INFO] [stdout] 404 |       let models = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 405 | |         Model,
[INFO] [stdout] 406 | |         r#"
[INFO] [stdout] 407 | | SELECT id, name, display_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 412 | |         "#
[INFO] [stdout] 413 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/main.rs:434:18
[INFO] [stdout]     |
[INFO] [stdout] 434 |       let usages = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 435 | |         r#"
[INFO] [stdout] 436 | | WITH usage_stats AS (
[INFO] [stdout] 437 | |     SELECT m.id as model_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 457 | |         api_key
[INFO] [stdout] 458 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `api-key-test2` (bin "api-key-test2") due to 13 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `api-key-test2` (bin "api-key-test2" test) due to 13 previous errors
[INFO] running `Command { std: "docker" "inspect" "b172ef5569d39d284e392630f561fb362d7d0bbd849c227f33a497ebee210d76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b172ef5569d39d284e392630f561fb362d7d0bbd849c227f33a497ebee210d76", kill_on_drop: false }`
[INFO] [stdout] b172ef5569d39d284e392630f561fb362d7d0bbd849c227f33a497ebee210d76
